package com.example.demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@Configuration
@ImportResource(locations={"classpath:applicationContext.xml"})
public class DemoApplication {

	static Logger logger = LoggerFactory.getLogger(DemoApplication.class) ;
	public static void main(String[] args) {
		logger.info("aaa");
		SpringApplication.run(DemoApplication.class, args);
	}
}
